import request from "../../utils/request";

class HomeHttp {

 // 轮播图
 swiper = () => request('/banner')

 //热门推荐
 Recommend = (body) => request(`/personalized?limit=${body}`)

 // 新碟上架
 newCD = (body) => request('/top/album')

 // 所有排行榜
 allList = () => request('/toplist/detail')

 // 排行榜详情
 listInfor = (body) => request(`/playlist/detail?id=${body}`)

 // 获取歌手
 singer = (body)  => request(`/top/artists?limit=${body}`)

 // 热门主播
 popularAnchor = (body) => request(`/dj/toplist/popular?limit=${body}`)

}
export default new HomeHttp()